package com.jiakai.cashinterfacemucon.model;

import java.io.Serializable;

public class Relation implements Serializable {
    protected Long id;

    protected String productID;

    protected String PID3rd;

    private String the3rd;

    private static final long serialVersionUID = -4916213206710629457L;

    public Relation() {
    }

    public Relation(String the3rd) {
        this.the3rd = the3rd;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductID() {
        return productID;
    }

    public void setProductID(String productID) {
        this.productID = productID == null ? null : productID.trim();
    }

    public String getPID3rd() {
        return PID3rd;
    }

    public void setPID3rd(String PID3rd) {
        this.PID3rd = PID3rd == null ? null : PID3rd.trim();
    }

    public String getThe3rd() {
        return the3rd;
    }

    public void setThe3rd(String the3rd) {
        this.the3rd = the3rd == null ? null : the3rd.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productID=").append(productID);
        sb.append(", PID3rd=").append(PID3rd);
        sb.append(", the3rd=").append(the3rd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}